import {
    trigger,
    state,
    style,
    query,
    animate,
    group,
    stagger,
    keyframes,
    transition,
    animation,
    useAnimation,
} from '@angular/animations';

// 可重用的动画
export const transAnimation = animation([
    style({
        height: '{{height}}',
        opacity: '{{opacity}}',
        backgroundColor: '{{backgroundColor}}'
    }),
    animate('{{time}}')
])

